package com.eazy.lksy.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import com.eazy.lksy.service.LogService;

/**
 * 系统登录日志管理类
 * 
 * @author jzx
 * @date 2016.3.14
 */
public class LogController {

	@Autowired
	private LogService logService;
	/**
	 * 获取日志列表页
	 */
	@RequestMapping(value = "list", method = RequestMethod.GET)
	public ModelAndView selectLog() {
		ModelAndView modelAndView = new ModelAndView("user/user_list");
		modelAndView.addObject("userArray", logService.selectLog());
		return modelAndView;
	}
}
